package cn.firecode.data_collect.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yangfan
 * @since 2019-12-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CollectObjectT extends Model<CollectObjectT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "object_id", type = IdType.AUTO)
    private Integer objectId;

    /**
     * 对象描述
     */
    private String objectDescribe;

    /**
     * 对象物种
     */
    private String objectSpecies;

    /**
     * 骨头类型
     */
    private String objectType;

    /**
     * 术前CT
     */
    private Integer preoperativeCt;

    /**
     * 术后CT
     */
    private Integer postoperationCt;

    /**
     * 是否采集【0-待采集 1-已采集 2-删除】
     */
    private Integer isCollect;

    /**
     * 工装板id
     */
    private Integer boardId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


    @Override
    protected Serializable pkVal() {
        return this.objectId;
    }

}
